package com.tz.mapper;

import com.tz.entity.User;
import org.apache.ibatis.annotations.Param;
import org.mybatis.spring.annotation.MapperScan;
/**
 * 本mapper用来处理登录
 * @author Cunese
 * @date 17-12-29
 */
@MapperScan
public interface LoginMapper {
    /**
     * 根据用户名和密码查询用户
     */
    User selectUser(@Param("username") String username, @Param("password") String password);
}
